#include "Twi.h"
/*
* Initierar uP som slave.
*  - Paramter: Predefined Slave address
*/
void initTWISlave(const unsigned char address)
{
	TWCR = (1<<TWEN) | (1<<TWINT) | (1<<TWEA) | (1<<TWIE);
	
	// Set your TWI->uP address 
	TWAR = address;
}

